package ua.maxicash.service;

import ua.maxicash.vo.City;
import ua.maxicash.vo.Country;
import ua.maxicash.vo.Region;

import java.util.List;
import java.util.Set;

public interface GeoService {

    public void addCountry(Country country);
	public void addRegion(Region region);
	public void addCity(City city);
	public List<Country> getAllCountries();
	public Set<Region> getAllRegionsOfCountry(Long idCountry);
	public Set<City> getAllCitiesOfRegion(Long idRegion);
	public City getCityById(Long idCity);
    public List<City> getCitiesLike(String term);
	public Region getRegionById(Long idRegion);
	public Country getCountryById(Long idCountry);


}
